package com.zc.timedown.vo;

import com.zc.timedown.domain.TimeRecord;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * ClassName:TimeRecordCategoryDetailVo
 * Description:
 * DateTime: 2025/10/21 14:58
 * Author: zc
 * Version: 1.0
 */
@ApiModel("时间账本分类详情")
@Data
public class TimeRecordCategoryDetailVo {
    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("该分类总时间(小时)")
    private BigDecimal totalHours;

    @ApiModelProperty("占当日总时间百分比")
    private double percentage;

    @ApiModelProperty("该分类下的活动列表")
    private List<TimeRecordVo> activities;
}
